//
//  Gog.m
//  08-类的拓展
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "Gog.h"

//括号里什么都不填是延展 @interface <#class name#> ()
//括号里需要填东西是类目 @interface <#class name#> (<#category name#>)
@interface Gog ()
@property (nonatomic,copy) NSString *food;
@end
@implementation Gog
- (void)eatFood {
    NSLog(@"吃狗粮%@",_food);
}
- (void)run {
  NSLog(@"跑步");
}
- (void)sleep {
    NSLog(@"睡觉");
}
- (void)getDogLife {
    [self run];
    [self eatFood];
    [self sleep];
}
@end
